package com.housediyadmin.command.fittingCommand
{			
	import com.housediyadmin.events.fittingEvents.EditFittingEvent;
	import com.housediyadmin.service.FittingRemoteObjectService;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/15
	 */
	public class EditFittingCommand extends Command
	{
		[Inject]
		public var service:FittingRemoteObjectService;
		
		[Inject]
		public var event:EditFittingEvent;
		
		override public function execute():void
		{
			service.editFitting(event.fitting);
		}
	}
}